package com.soft.entity;

/**
 * @ClassName OrderRefundRecord
 * @Description 订单退款记录
 * @Date 2021/5/26 17:47
 * @Version 1.0
 */
public class OrderRefundRecord {

    private int id;//编号
    private int orderId;//订单编号
    private double sum;//退款金额
    private String detail;//退款备注
    private int status;//状态

    public OrderRefundRecord() {

    }

    public void setId(String id) {
        this.id = Integer.parseInt(id);
    }

    public int getId() {
        return id;
    }

    public void setOrderId(String orderId) {
        this.orderId = Integer.parseInt(orderId);
    }

    public int getOrderId() {
        return orderId;
    }

    public void setSum(String sum) {
        this.sum = Double.parseDouble(sum);
    }

    public double getSum() {
        return sum;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getDetail() {
        return detail;
    }

    public void setStatus(String status) {
        this.status = Integer.parseInt(status);
    }

    public int getStatus() {
        return status;
    }

    public static final class STATUS {
        public static final int STATUS_CREATED = 0;//已创建
        public static final int STATUS_SUCCESS = 1;//已成功退款
    }
}
